<template>
	<data-search :searchParams="$store.state.app.searchParams" @search="$emit('search')">
		<template v-slot:form="scope">
			<el-form-item width="100">
				<el-input v-model="scope.searchParams.roleName" size="mini" placeholder="角色名称" />
			</el-form-item>
		</template>
	</data-search>
</template>

<script>
import cfg from './js/';
import DataSearch from '@/components/DataSearch';

export default {
	store: cfg.store,
	components: {
		'data-search': DataSearch
	}
}
</script>